
/**
 * 加油记录列表
 */
export function refuelList(params) {
	return uni.$u.http.get('/refueling/record/list?'+ params);
}


/**
 * 新增加油记录
 */
export function addRefuelRecord(data) {
	return uni.$u.http.post('/refueling/record/addRecord', data, {
		header: {
			'content-type': 'application/json',
		}
	});
}


/**
 * 编辑加油记录
 */
export function editRefuelRecord(data) {
	return uni.$u.http.post('/refueling/record/editRecord', data, {
		header: {
			'content-type': 'application/json',
		}
	});
}


/**
 * 加油详情
 */
export function refuelDetail(params) {
	return uni.$u.http.get('/refueling/record/'+ params);
}

/**
 * 油卡列表
 */
export function refuelCardList(params) {
	return uni.$u.http.get('oilCard/oilCard/getAllOilCard?'+ params);
}

/**
 * 加油选择车辆列表
 */
export function carList(params) {
	return uni.$u.http.get('/car/basic/basicList?'+ params);
}